package com.atan.weblog.admin.service;

import com.atan.weblog.admin.model.vo.tag.AddTagReqVO;
import com.atan.weblog.admin.model.vo.tag.DeleteTagReqVO;
import com.atan.weblog.admin.model.vo.tag.FindTagPageListReqVO;
import com.atan.weblog.admin.model.vo.tag.SearchTagReqVO;
import com.atan.weblog.common.domain.dos.TagDO;
import com.atan.weblog.common.domain.mapper.TagMapper;
import com.atan.weblog.common.utils.PageResponseUtil;
import com.atan.weblog.common.utils.ResponseUtil;
import com.baomidou.mybatisplus.extension.service.IService;

public interface AdminTagService extends IService<TagDO> {
    ResponseUtil addTags(AddTagReqVO addTagReqVO);

    /**
     * 查询标签分页
     * @param findCategoryPageListReqVO
     * @return
     */
    PageResponseUtil findTagPageList(FindTagPageListReqVO findCategoryPageListReqVO);

    ResponseUtil deleteTag(DeleteTagReqVO deleteTagReqVO);

    /**
     * 标签关键字模糊查询
     * @param searchTagReqVO
     * @return
     */
    ResponseUtil searchTag(SearchTagReqVO searchTagReqVO);


    /**
     * 查询标签 Select 列表数据
     * @return
     */
    ResponseUtil findTagSelectList();
}
